package IoC;

public class FrameWork {
    private Bottom bottom;

    public FrameWork(Bottom bottom) {
        this.bottom = bottom;
    }
    public void init() {
        //启用车身
        System.out.println("车身启动，需要依赖地盘");
        bottom.init();
    }
}
